<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-nested" prefix="nested"%>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html:form action="/View/journeydeleteid.do?action=deleteId">
	<head>

	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

	<title>Customer</title>
	
	<script type="text/javascript">

	function submitid(){

	var journeyID = document.getElementById("empid").value;

	if(journeyID == ""){
		alert("Please enter the Ticket number");
		return;
	}	
	
			document.forms[0].submit();

	}
	
	</script>
	</head>

	<body>

	<jsp:include page="topmenu.jsp"></jsp:include>
	<td align="center">
	<center>
	<h4 style="color: red"><bean:write name="deleteJourneyIDForm" property="error" /></h4>
	Enter your Reservation Ticket number here : <html:text name="deleteJourneyIDForm" property="journeyID" styleId="empid"/>
	
	<input type="button" value="Submit" onclick="submitid()" /></center>
	</td>
	</body>	
</html:form>